package com.hcinfos.gsoo.db;

import android.content.Context;

import com.lidroid.xutils.DbUtils;

public class NewDBUtil {
	private Context context;
	private static NewDBUtil dbUtil;
	public DbUtils db;

	public NewDBUtil(Context context) {
		this.context = context;
		db = DbUtils.create(context, "gsoo.db");
		db.configAllowTransaction(true);
		db.configDebug(true);
	}

	public static NewDBUtil newInstance(Context context) {
		if (null == dbUtil) {
			dbUtil = new NewDBUtil(context);
		}
		return dbUtil;
	}

}
